import unittest
from config.Config import *
from api.Api import Api


class Tj_Zx(unittest.TestCase):

    def test_tj_zx(self):
        api_ele = ['post',tj_zx,tj_zx_data,tj_zx_headers]
        Api().send_api(api_ele=api_ele)
        self.value = Api().api_json_assert()
        assert self.value['msg'] == '保存资讯成功！'